package org.boyan.modules.service.impl;

import org.boyan.entity.esb.ESBServer;
import org.boyan.modules.mapper.ESBMapper;
import org.boyan.modules.service.ESBService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class ESBServiceImpl implements ESBService {
    @Autowired
    private ESBMapper esbMapper;

    @Override
    public boolean addESB(ESBServer esbServer) {
        return esbMapper.addESBServer(esbServer)==1;
    }
}
